<template>
    <div>
      <!--头部-->
      <div class="top">
        <img @click="goback()" src="../../../static/bmqd/BMQD-1.png" alt="">
        <span>{{title}}</span>
        <img src="../../../static/bmqd/fenxiang.png" alt="">
      </div>
    </div>
</template>

<script>
    export default {
        name: "Nav2",
      props:["title"],
      methods:{
        goback(){
          history.go(-1);
        }
      }
    }
</script>

<style scoped>
  .top{
    width: 69rem;
    height: 3rem;
    line-height: 3rem;
    padding: 3.5rem 1.5rem;
    background: #e53e42;
    display: flex;
    justify-content: space-between;
  }
  .top span{
    font-size: 36px;
    color: #fff;
  }
  .top img{
    width: 3rem;
    height: 3rem;
  }
</style>
